{include inc.top.html}
<div class="index-main">
    <h1 class="h-title">{$atitle}
        <span class="sub-nav">
            <a href="{url:'admin@system-addmgr-id-%d' , 0}">新增帐号</a>
        </span>
    </h1>
    <table class="table">
        <tr>
            <th class="th" width="20%">帐号</th>
            <th class="th" width="15%">权限</th>
            <th class="th" >操作</th>
        </tr>
        {foreach $list $k $v}
        <tr class="top_{$v['top']} tr tr-{$list_index % 2 === 0 ? '2' : '1'}">
            <td class="td" >{$v['uname']}</td>
            <td class="td">默认</td>
            <td class="td">
                <a href="{url:'admin@system-addmgr-id-%d' , $v['id']}">修改</a>
                {if $v['id'] > 1} |
                <a href="{url:'admin@system-delmgr-id-%d' , $v['id']}" class="delbtn">删除</a>
                {/if}
            </td>
        </tr>
        {/foreach}
    </table>
    <div class="clear"></div>
</div>
{include inc.bottom.html}